<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>项目测试</title>
		<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
	</head>
	<body>
		<script type="text/javascript">
			$.ajaxSetup({
				beforeSend: function(xhr){
					console.log(xhr);
				},
				success: function(){
					
				}
			})
			$.ajax({
				type:"get",
				url:"http://192.168.99.10:8080/ASRAgent/update?version=1.2",
				async:true
			}).done(function(res){
				console.log('done',res);
			});
			setTimeout(function(){
				$.ajax({
					type:"get",
					url:"http://192.168.99.10:8080/ASRAgent/process?fspatch=1.2",
					async:true
				}).done(function(res){
					console.log('done',res);
				});
			},5000)
			$.ajax({
				type:"get",
				url:"http://192.168.30.53:8080/ASRAgent/process",
				async:true
			}).done(function(res){
				console.log('done',res);
			});
		</script>
	</body>
</html>
